package cn.madis.ymcc;

import cn.madis.ymcc.domain.Login;
import cn.madis.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: Eric
 * @CreateTime: 2022-08-06  16:54
 * @Description: uaa feign
 */
@FeignClient(value = "service-uaa")
public interface UaaFeignClient {

    @RequestMapping(value = "/login/save", method = RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody Login login);

}
